;**********************************************************
;  Microchip Enhanced PIC16F1xxx C Compiler (CC16E), v1.00
;  Sun Feb 21 21:17:35 2021
;**********************************************************

	.device	"pic16e"


	.segment	CODE2 (REL) foo:11
foo_$_p:	.equ	foo_$data$+0
foo_$_n:	.equ	foo_$data$+2
foo_$1_num:	.equ	foo_$data$+3
foo_$2_cp1:	.equ	foo_$data$+7
foo_$3_cp2:	.equ	foo_$data$+9
foo::
	movlw	foo_$data$+3
	movwf	FSR0L
	movlw	(foo_$data$+3)>>8
	movwf	FSR0H
	movlb	3
	.psel	foo, _copyPar
	call	_copyPar
; :: e4.c #5: num = -num;
	.bsel	0, foo_$data$
	comf	foo_$1_num, F
	movlw	1
	addwf	foo_$1_num, F
	comf	foo_$1_num+1, F
	movlw	0
	addwfc	foo_$1_num+1, F
	comf	foo_$1_num+2, F
	addwfc	foo_$1_num+2, F
	comf	foo_$1_num+3, F
	addwfc	foo_$1_num+3, F
; :: e4.c #6: num = -n;
	movf	foo_$_n, W
	subwf	127, W
	movwf	foo_$1_num
	andlw	128
	btfss	3, 2
	movlw	255
	movwf	foo_$1_num+1
	movwf	foo_$1_num+2
	movwf	foo_$1_num+3
; :: e4.c #7: *cp1 = -(*cp2);
	movf	foo_$3_cp2, W
	movwf	FSR0L
	movf	foo_$3_cp2+1, W
	movwf	FSR0H
	comf	INDF0, W
	movwf	0x70
	movf	foo_$2_cp1, W
	movwf	FSR0L
	movf	foo_$2_cp1+1, W
	movwf	FSR0H
	incf	0x70, W
	movwi	0[INDF0]
; :: e4.c #8: *cp1 = -(*cp1);
	comf	INDF0, F
	incf	INDF0, F
; :: e4.c #10: num = !n;
	movf	foo_$_n, W
	clrf	0x70
	addlw	0
	btfsc	STATUS, 2
	incf	0x70, F
	movf	112, W
	movwf	foo_$1_num
	clrf	foo_$1_num+1
	clrf	foo_$1_num+2
	clrf	foo_$1_num+3
; :: e4.c #11: n = !num;
	movf	foo_$1_num, W
	iorwf	foo_$1_num+1, W
	iorwf	foo_$1_num+2, W
	iorwf	foo_$1_num+3, W
	clrf	0x70
	addlw	0
	btfsc	STATUS, 2
	incf	0x70, F
	movf	112, W
	movwf	foo_$_n
; :: e4.c #12: *p = !num;
	movf	foo_$1_num, W
	iorwf	foo_$1_num+1, W
	iorwf	foo_$1_num+2, W
	iorwf	foo_$1_num+3, W
	clrf	0x70
	addlw	0
	btfsc	STATUS, 2
	incf	0x70, F
	movf	foo_$_p, W
	movwf	FSR0L
	movf	foo_$_p+1, W
	movwf	FSR0H
	movf	112, W
	movwi	INDF0++
; :: e4.c #14: return !(*(char*)1000);
	.bsel	foo_$data$, 1000
	movf	104, W
	clrf	0x70
	addlw	0
	btfsc	STATUS, 2
	incf	0x70, F
	movf	112, W
	movwf	112
	clrf	113
	.psel	_copyPar, foo
	return
; function(s) called::
	.fcall	foo, _copyPar

	.end
